package top.kangshuai.converter;

import org.springframework.core.convert.converter.Converter;

import top.kangshuai.utils.MyUtils;
/**
 * 字符串转换器(去空)
 * @author ks187
 *
 */
public class StingConverter implements Converter<String, String>{

  @Override
  public String convert(String source) {
    return MyUtils.trim(source);
  }

}
